package com.weixing.mall.provider.model.vo.report.storage;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author jzy
 * @date 2020/6/6
 */
@Data
@Accessors(chain = true)
@ApiModel(value="StorageDefectReportDetailVo", description="08仓储部-次品报表--详细数据")
public class StorageDefectReportDetailVo {

    @ApiModelProperty(value = "商品货号")
    @ExcelProperty("商品货号")
    private String goodsSn;
    @ApiModelProperty(value = "款号")
    @ExcelProperty("款号")
    private String styleNo;
    @ApiModelProperty(value = "分区")
    @ExcelProperty("分区")
    @ExcelIgnore
    private String partitionName;
    @ApiModelProperty(value = "分类")
    @ExcelProperty("分类")
    private String catName;
    @ApiModelProperty(value = "订单号")
    @ExcelProperty("订单号")
    private String orderSn;
    @ApiModelProperty(value = "零售价")
    @ExcelProperty("零售价")
    private String price;
    @ApiModelProperty(value = "客户名称")
    @ExcelProperty("客户名称")
    private String contactUser;
    @ApiModelProperty(value = "手机号")
    @ExcelProperty("手机号")
    private String contactPhone;
    @ApiModelProperty(value = "地址")
    @ExcelProperty("地址")
    private String address;
    @ApiModelProperty(value = "代理")
    @ExcelProperty("代理")
    private String agentName;
    @ApiModelProperty(value = "经销商")
    @ExcelProperty("经销商")
    private String distributorName;
    @ApiModelProperty(value = "客服")
    @ExcelProperty("客服")
    private String customerName;
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("审核时间")
    private Date auditTime;
    @ApiModelProperty(value = "瑕疵")
    @ExcelProperty("瑕疵")
    private String flaw;
    @ApiModelProperty(value = "问题")
    @ExcelProperty("问题")
    private String issue;
    @ApiModelProperty(value = "操作时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("操作时间")
    private Date shipTime;
}
